<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>突出展示案例</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        #container {
            margin: 100px 450px;
            width: 600px;
            height: 399px;
            border: 6px solid yellowgreen;
        }

        #container ul {
            width: 600px;
            list-style-type: none;
        }

        #container ul li {
            width: 200px;
            height: auto;
            float: left;
            line-height: 0px;
        }
    </style>
</head>
<script src="../jquery-1.12.4.js"></script>
<script>
    $(function () {
        $("#container>ul>li").mouseenter(function(){
            $(this).css("opacity",1).siblings("li").css("opacity",0.4);
        });

        $("#container").mouseout(function(){
            $(this).children().children("li").css("opacity",1);
        });
    });
</script>

<body>
    <div id="container">
        <ul>
            <li><img src="./images/1_01.gif"></li>
            <li><img src="./images/1_02.gif"></li>
            <li><img src="./images/1_03.gif"></li>
            <li><img src="./images/1_04.gif"></li>
            <li><img src="./images/1_05.gif"></li>
            <li><img src="./images/1_06.gif"></li>
            <li><img src="./images/1_07.gif"></li>
            <li><img src="./images/1_08.gif"></li>
            <li><img src="./images/1_09.gif"></li>
        </ul>
    </div>
</body>

</html>